package com.gict.antifraudback.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.util.Date;

/**
 * 基类
 */
@Data
public abstract class BaseEntity {

    @Id
    private Integer id;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    @TableLogic(value = "0", delval = "1")
    private Integer isDeleted;
}
